<script setup>
import AccountListView from "@/views/AccountListView.vue";
import {
  useOsTheme,
  darkTheme,
  zhCN,
  dateZhCN
} from "naive-ui"
</script>

<template>
  <n-config-provider :theme="useOsTheme().value === 'dark' ? darkTheme : null" :locale="zhCN" :date-locale="dateZhCN">
    <n-loading-bar-provider>
      <n-dialog-provider>
        <n-notification-provider>
          <n-message-provider>
            <account-list-view />
          </n-message-provider>
        </n-notification-provider>
      </n-dialog-provider>
    </n-loading-bar-provider>
  </n-config-provider>
</template>
